package Dao;

import domain.BreakRule;

import java.util.HashMap;
import java.util.List;

public interface BreakRuleDao {
    public void addBreakRuleDao(BreakRule rule);

    public List<BreakRule> fuzzySelectBreakRule(HashMap<String,String> map);

    public List<BreakRule> breakRuleList();

    public BreakRule selectBreakRuleById(int id);

    public void DelBreakRule(int id);

    public void UpdateBreakRule(BreakRule breakRule,int id);
}
